<?php

namespace View;

//Klass för ksapande av statiskt HTML innehåll
class StaticContentView 
{
	//Skapar och retunerar HTML för sidan "About"
	public function RenderAboutPageHTML()
	{
		$ret = "<div><h3 class='contentHeader'>About</h3>
				<p class='contentText'>TrashTalk is a smallscale forumcomponent. Developed with the scripting language <a href='http://en.wikipedia.org/wiki/Php' target='_blank'>PHP</a>, 
				following a <a href='http://en.wikipedia.org/wiki/Model-View-Controller' target='_blank'>MVC design pattern</a>, TrashTalk is the result of 
				a courseproject within the course 'Web Development with PHP, 7.5 credits' at the University of Linné, Kalmar, Sweden. </p></div>";
				
		return $ret;		
	}

	//Skapar och retunerar HTML för "Footer"	
	public function RenderFooterHTML()
	{
		$ret = $this->RenderAboutPageHTML();							
		$ret .= "<div><h3>Legal</h3>
				 <p>Developed at the University of Linné, Kalmar, Sweden.
				 All rights are reserved to all parties of the project;
				 the developer, the customer and the University of Linné.</p></div>";	
		$ret .= "<div><h3>Some latin</h3>
				 <p>Aliquam erat volutpat. Pellentesque a sem vitae velit ornare venenatis.
				 Nam at dictum nulla. Aenean posuere fringilla ligula, sit amet placerat quam
				 placerat non. Pellentesque habitant morbi tristique senectus et netus et malesuada
				 fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et
				 ultrices posuere cubilia Curae; Nulla facilisi.</p></div>";	
		
		return $ret;		   			
	}	
			       	
} 
  

?>